#! /usr/bin/env python
# encoding: utf-8

# the following two variables are used by the target "waf dist"
VERSION='0.0.1'
APPNAME='libexample'

import Params
Params.g_autoconfig=1

# these variables are mandatory ('/' are converted automatically)
srcdir = '.'
blddir = 'build'

def set_options(opt):
    pass

def configure(conf):
    conf.check_tool('substpc')

def build(bld):
    pc = bld.create_obj('substpc')
    pc.source = 'substpc.pc.in'
    pc.target = 'substpc.pc'
    pc.name = APPNAME
    pc.version = VERSION
    pc.uselib = 'FOO'
